{include file="public/_meta" title="娱乐资讯"/}

<nav class="breadcrumb">
    <i class="Hui-iconfont">&#xe67f;</i>
    首页 <span class="c-gray en">&gt;</span>
    版本管理 <span class="c-gray en">&gt;</span>
    版本信息列表
    <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" >
        <i class="Hui-iconfont">&#xe68f;</i>
    </a>
</nav>
<div class="page-container">

    <div class="mt-20">
        <table class="table table-border table-bordered table-bg table-hover table-sort table-responsive" >
            <thead>
            <tr class="text-c">
                <th width="25"><input type="checkbox" name="" value=""></th>
                <th width="40">序号</th>
                <th>版本号</th>
                <th width="80">app机型</th>
                <th width="80">更新后版本号</th>
                <th width="80">did信息</th>
                <th width="120">更新时间</th>
                <th width="80">操作</th>
            </tr>
            </thead>
            <tbody>
            {volist name="appActive" id="vo"}
            <tr class="text-c">
                <td><input type="checkbox" value="" name=""></td>
                <td>{$vo.id}</td>
                <td>{$vo.version}</td>
                <td class="text-l">
                    <u style="cursor:pointer" class="text-primary"  title="查看">{$vo.app_type}</u>
                </td>
                <td>{$vo.version_code}</td>
                <td>{$vo.did}</td>
                <td>{$vo.update_time}</td>
                <td class="f-14 td-manage">
                    <a style="text-decoration:none" class="ml-5" onClick="app_del(this)" href="javascript:;" title="删除" del_url="{:url('version/delete',['id' =>$vo.id])}">
                        <i class="Hui-iconfont">&#xe6e2;</i>
                    </a>
                </td>
            </tr>
            {/volist}
            </tbody>
        </table>
        <br/>
        <div id="laypage"></div>
    </div>

</div>
<!--header-->
{include file="public/_footer" /}

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="__STATIC__/hadmin/lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript" src="__STATIC__/hadmin/lib/laypage/1.2/laypage.js"></script>

{load href="__STATIC__/admin/js/common.js" /}

<script type="text/javascript">
    var url = '{:url("version/index")}'+'?{$query}';
    //alert(url);
    laypage({
        cont: 'laypage', //容器。值支持id名、原生dom对象，jquery对象,
        pages: '{$pageTotal}', //总页数
        skin: '#5FB878', //皮肤
        curr :'{$curr}',
        jump: function(e, first){ //触发分页后的回调
            if(!first){ //一定要加此判断，否则初始时会无限刷新
                //alert(url+'?page='+e.curr);
                location.href = url+'&page='+e.curr;
            }
        }
    });

</script>

<style>
    .imooc-app .pagination li{display:inline; padding-left:10px;}
    .pagination .active{color:red}
    .pagination .disabled{color:#888888}
</style>
</body>
</html>